<script setup>
import {getTestAPi} from '@/api/testAPI.js'
import {ElMessage} from 'element-plus'



const getTestData = async () => {
  const result = await getTestAPi()
  console.log('接口调用结果', result)

}
</script>

<template>
  我是index页面
  <el-button type="primary" icon="Plus" @click="getTestData">按钮</el-button>
  <el-button type="info" icon="Message" circle />
  <el-button type="warning" icon="Star" circle />
  <el-button type="danger" icon="Delete" circle />
</template>

<style scoped lang="scss">

</style>
